<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Huffman-homework: Node&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="mm.bmp"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Huffman-homework
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_node.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_node-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Node&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="node_8h_source.html">node.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2b5dbaadb5ba6ce7c0eb91d6fb3b5354"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a2b5dbaadb5ba6ce7c0eb91d6fb3b5354">isTerminal</a> ()</td></tr>
<tr class="separator:a2b5dbaadb5ba6ce7c0eb91d6fb3b5354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01c573753c9bea04b41c82fcd2e71e5c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a01c573753c9bea04b41c82fcd2e71e5c">isRoot</a> ()</td></tr>
<tr class="separator:a01c573753c9bea04b41c82fcd2e71e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec44fee5f55f7a912d398989175537a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#aec44fee5f55f7a912d398989175537a7">getLeftChild</a> ()</td></tr>
<tr class="separator:aec44fee5f55f7a912d398989175537a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af235020f301683c3f4ea21b526f82e63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#af235020f301683c3f4ea21b526f82e63">getRightChild</a> ()</td></tr>
<tr class="separator:af235020f301683c3f4ea21b526f82e63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f80f401ba7fabe57d19f4c60859f25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#af4f80f401ba7fabe57d19f4c60859f25">getRoot</a> ()</td></tr>
<tr class="separator:af4f80f401ba7fabe57d19f4c60859f25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a7d325edb63bef936d0195a245c0b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a92a7d325edb63bef936d0195a245c0b3">getParent</a> ()</td></tr>
<tr class="separator:a92a7d325edb63bef936d0195a245c0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add39ba86acc5fdf03a16f706740ae6c2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#add39ba86acc5fdf03a16f706740ae6c2">ok</a> ()</td></tr>
<tr class="separator:add39ba86acc5fdf03a16f706740ae6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d5bdc1d7ac8f69c04c533363556bff9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a3d5bdc1d7ac8f69c04c533363556bff9">attatchToLeft</a> (<a class="el" href="class_node.html">Node</a> *attachment)</td></tr>
<tr class="separator:a3d5bdc1d7ac8f69c04c533363556bff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83094c6b42b1d0f933bd1956c25bf99a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a83094c6b42b1d0f933bd1956c25bf99a">attatchToRight</a> (<a class="el" href="class_node.html">Node</a> *attachment)</td></tr>
<tr class="separator:a83094c6b42b1d0f933bd1956c25bf99a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a219129e2eab7455a4dd0377124c83716"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a219129e2eab7455a4dd0377124c83716">getValue</a> ()</td></tr>
<tr class="separator:a219129e2eab7455a4dd0377124c83716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ac1d44cfe588be564acf25485029bd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a0ac1d44cfe588be564acf25485029bd8">Node</a> ()</td></tr>
<tr class="separator:a0ac1d44cfe588be564acf25485029bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f2bd0551fbce8ee80741462c9c86ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#ab2f2bd0551fbce8ee80741462c9c86ef">Node</a> (T)</td></tr>
<tr class="separator:ab2f2bd0551fbce8ee80741462c9c86ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae923d0417581dd19784d55b901f0f7f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#ae923d0417581dd19784d55b901f0f7f0">~Node</a> ()</td></tr>
<tr class="separator:ae923d0417581dd19784d55b901f0f7f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0ac1d44cfe588be564acf25485029bd8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt;::<a class="el" href="class_node.html">Node</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node&lt;T&gt; :: <a class="el" href="class_node.html">Node</a> ();</p>
<p>This constructor constructs the root node with no child nodes and value constructed with default constructor </p>

</div>
</div>
<a class="anchor" id="ab2f2bd0551fbce8ee80741462c9c86ef"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt;::<a class="el" href="class_node.html">Node</a> </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node&lt;T&gt; :: <a class="el" href="class_node.html">Node</a> ();</p>
<p>This constructor constructs the root node with no child nodes and value constructed with copy constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">T</td><td>value - value to be copied and stored in this node </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae923d0417581dd19784d55b901f0f7f0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt;::~<a class="el" href="class_node.html">Node</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3d5bdc1d7ac8f69c04c533363556bff9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_node.html">Node</a>&lt; T &gt;::attatchToLeft </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a>&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>attachment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; bool Node&lt;T&gt; :: attatchToLeft (Node* attachment)</p>
<p>This function attaches node to the left hand child. Notice that if parent node already has left hand side child node it will be overriden. In other words if there is left hand side child it must be saved with getNode function before attaching new one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Node*</td><td>attachment - node to attach</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool - was attachment done </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_cgraph.png" border="0" usemap="#class_node_a3d5bdc1d7ac8f69c04c533363556bff9_cgraph" alt=""/></div>
<map name="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_cgraph" id="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_cgraph">
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_icgraph.png" border="0" usemap="#class_node_a3d5bdc1d7ac8f69c04c533363556bff9_icgraph" alt=""/></div>
<map name="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_icgraph" id="class_node_a3d5bdc1d7ac8f69c04c533363556bff9_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a83094c6b42b1d0f933bd1956c25bf99a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_node.html">Node</a>&lt; T &gt;::attatchToRight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a>&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>attachment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; bool Node&lt;T&gt; :: attatchToRight (Node* attachment)</p>
<p>This function attaches node to the right hand child. Notice that if parent node already has right hand side child node it will be overriden. In other words if there is right hand side child it must be saved by getRightChild function before attaching new one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Node*</td><td>attachment - node to attach</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool - was attachment done </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a83094c6b42b1d0f933bd1956c25bf99a_cgraph.png" border="0" usemap="#class_node_a83094c6b42b1d0f933bd1956c25bf99a_cgraph" alt=""/></div>
<map name="class_node_a83094c6b42b1d0f933bd1956c25bf99a_cgraph" id="class_node_a83094c6b42b1d0f933bd1956c25bf99a_cgraph">
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a83094c6b42b1d0f933bd1956c25bf99a_icgraph.png" border="0" usemap="#class_node_a83094c6b42b1d0f933bd1956c25bf99a_icgraph" alt=""/></div>
<map name="class_node_a83094c6b42b1d0f933bd1956c25bf99a_icgraph" id="class_node_a83094c6b42b1d0f933bd1956c25bf99a_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aec44fee5f55f7a912d398989175537a7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt; * <a class="el" href="class_node.html">Node</a>&lt; T &gt;::getLeftChild </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node* Node&lt;T&gt; :: <a class="el" href="class_node.html#aec44fee5f55f7a912d398989175537a7">getLeftChild()</a>;</p>
<p>This function return left hand side child.</p>
<dl class="section return"><dt>Returns</dt><dd>Node* - left hand side child </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_aec44fee5f55f7a912d398989175537a7_icgraph.png" border="0" usemap="#class_node_aec44fee5f55f7a912d398989175537a7_icgraph" alt=""/></div>
<map name="class_node_aec44fee5f55f7a912d398989175537a7_icgraph" id="class_node_aec44fee5f55f7a912d398989175537a7_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a92a7d325edb63bef936d0195a245c0b3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt; * <a class="el" href="class_node.html">Node</a>&lt; T &gt;::getParent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node* Node&lt;T&gt; :: getParent ();</p>
<p>THis function return node's parent</p>
<dl class="section return"><dt>Returns</dt><dd>Node* - parent of this node </dd></dl>

</div>
</div>
<a class="anchor" id="af235020f301683c3f4ea21b526f82e63"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt; * <a class="el" href="class_node.html">Node</a>&lt; T &gt;::getRightChild </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node* Node&lt;T&gt; :: <a class="el" href="class_node.html#af235020f301683c3f4ea21b526f82e63">getRightChild()</a>;</p>
<p>This function return rifht hand side child.</p>
<dl class="section return"><dt>Returns</dt><dd>Node* - right hand side child </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_af235020f301683c3f4ea21b526f82e63_icgraph.png" border="0" usemap="#class_node_af235020f301683c3f4ea21b526f82e63_icgraph" alt=""/></div>
<map name="class_node_af235020f301683c3f4ea21b526f82e63_icgraph" id="class_node_af235020f301683c3f4ea21b526f82e63_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af4f80f401ba7fabe57d19f4c60859f25"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a>&lt; T &gt; * <a class="el" href="class_node.html">Node</a>&lt; T &gt;::getRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; Node* Node&lt;T&gt; :: getRoot ();</p>
<p>this function return the root of the tree that this node belongs</p>
<dl class="section return"><dt>Returns</dt><dd>Node* - root of this node's tree </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_af4f80f401ba7fabe57d19f4c60859f25_cgraph.png" border="0" usemap="#class_node_af4f80f401ba7fabe57d19f4c60859f25_cgraph" alt=""/></div>
<map name="class_node_af4f80f401ba7fabe57d19f4c60859f25_cgraph" id="class_node_af4f80f401ba7fabe57d19f4c60859f25_cgraph">
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_af4f80f401ba7fabe57d19f4c60859f25_icgraph.png" border="0" usemap="#class_node_af4f80f401ba7fabe57d19f4c60859f25_icgraph" alt=""/></div>
<map name="class_node_af4f80f401ba7fabe57d19f4c60859f25_icgraph" id="class_node_af4f80f401ba7fabe57d19f4c60859f25_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a219129e2eab7455a4dd0377124c83716"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T * <a class="el" href="class_node.html">Node</a>&lt; T &gt;::getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; T* Node&lt;T&gt; :: getValue ()</p>
<p>This function returns value stored in the node</p>
<dl class="section return"><dt>Returns</dt><dd>T - template object that was stored in this node </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a219129e2eab7455a4dd0377124c83716_icgraph.png" border="0" usemap="#class_node_a219129e2eab7455a4dd0377124c83716_icgraph" alt=""/></div>
<map name="class_node_a219129e2eab7455a4dd0377124c83716_icgraph" id="class_node_a219129e2eab7455a4dd0377124c83716_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a01c573753c9bea04b41c82fcd2e71e5c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_node.html">Node</a>&lt; T &gt;::isRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; bool Node&lt;T&gt; :: isRoot ()</p>
<p>This function determines if the node is root node</p>
<dl class="section return"><dt>Returns</dt><dd>bool - is parent is inaccessible </dd></dl>

</div>
</div>
<a class="anchor" id="a2b5dbaadb5ba6ce7c0eb91d6fb3b5354"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_node.html">Node</a>&lt; T &gt;::isTerminal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; bool Node&lt;T&gt; :: <a class="el" href="class_node.html#a2b5dbaadb5ba6ce7c0eb91d6fb3b5354">isTerminal()</a></p>
<p>This function determines if the node is terminal.</p>
<dl class="section return"><dt>Returns</dt><dd>bool - are child nodes are unaccessible </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_a2b5dbaadb5ba6ce7c0eb91d6fb3b5354_icgraph.png" border="0" usemap="#class_node_a2b5dbaadb5ba6ce7c0eb91d6fb3b5354_icgraph" alt=""/></div>
<map name="class_node_a2b5dbaadb5ba6ce7c0eb91d6fb3b5354_icgraph" id="class_node_a2b5dbaadb5ba6ce7c0eb91d6fb3b5354_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="add39ba86acc5fdf03a16f706740ae6c2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_node.html">Node</a>&lt; T &gt;::ok </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>template&lt;class T&gt; bool Node&lt;T&gt; :: ok ()</p>
<p>this function checks if node is ok</p>
<dl class="section return"><dt>Returns</dt><dd>bool - is ok </dd></dl>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_node_add39ba86acc5fdf03a16f706740ae6c2_icgraph.png" border="0" usemap="#class_node_add39ba86acc5fdf03a16f706740ae6c2_icgraph" alt=""/></div>
<map name="class_node_add39ba86acc5fdf03a16f706740ae6c2_icgraph" id="class_node_add39ba86acc5fdf03a16f706740ae6c2_icgraph">
</map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Admin/Desktop/issue/huffman-homework/<a class="el" href="node_8h_source.html">node.h</a></li>
<li>C:/Users/Admin/Desktop/issue/huffman-homework/<a class="el" href="node_8cpp.html">node.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_node.html">Node</a></li>
    <li class="footer">Generated on Sat Sep 6 2014 07:57:43 for Huffman-homework by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
